home *** CD-ROM | disk | FTP | other *** search
/ HTBasic 9.3 / HTBasic 9.3.iso / 83win / data1.cab / DLL_Toolkit / Source / HTBLink / DialogThread.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  2001-03-02  |  954 b   |  51 lines

  1. // DialogThread.cpp : implementation file
  2.  
  3. #include "stdafx.h"
  4. #include "DialogThread.h"
  5. #include "BLink.h"
  6.  
  7.  
  8. #ifdef _DEBUG
  9. #define new DEBUG_NEW
  10. #undef THIS_FILE
  11. static char THIS_FILE[] = __FILE__;
  12.  
  13. #endif
  14.  
  15.  
  16. /////////////////////////////////////////////////////////////////////////////
  17. // DialogThread
  18.  
  19. IMPLEMENT_DYNCREATE(DialogThread, CWinThread)
  20.  
  21. DialogThread::DialogThread()
  22. {    
  23. }
  24.  
  25. DialogThread::~DialogThread()
  26. {
  27. }
  28.  
  29. BOOL DialogThread::InitInstance()
  30. {    StartServer();
  31.  
  32.     return TRUE;
  33. }
  34.  
  35. int DialogThread::ExitInstance()
  36. {
  37.     // TODO:  perform any per-thread cleanup here
  38.     return CWinThread::ExitInstance();
  39. }
  40.  
  41. BEGIN_MESSAGE_MAP(DialogThread, CWinThread)
  42.     //{{AFX_MSG_MAP(DialogThread)
  43.         // NOTE - the ClassWizard will add and remove mapping macros here.
  44.     //}}AFX_MSG_MAP
  45. END_MESSAGE_MAP()
  46.  
  47. /////////////////////////////////////////////////////////////////////////////
  48. // DialogThread message handlers
  49.  
  50.  
  51.